import request from '@/utils/request'

// 门店列表
export function storeLists(params?: Record<string, any>) {
    return request.get({ url: '/store/list', params })
}

// 门店详情
export function storeDetail(params: Record<string, any>) {
    return request.get({ url: '/store/detail', params })
}

// 创建门店
export function storeCreate(params: Record<string, any>) {
    return request.post({ url: '/store/create', params })
}

// 更新门店
export function storeUpdate(params: Record<string, any>) {
    return request.post({ url: '/store/update', params })
}

// 删除门店
export function storeDelete(params: Record<string, any>) {
    return request.post({ url: '/store/delete', params })
}